<?php use_helper("Highslide") ?>
<script type="text/javascript">
	hs.graphicsDir = 'pmHighslideJSPlugin/css/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.outlineType = 'rounded-white';
	hs.fadeInOut = true;
	hs.dimmingOpacity = 0.75;

	// define the restraining box
	hs.useBox = false;
	hs.width = 640;
	hs.height = 480;

	// Add the controlbar
	hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: 'fit',
		overlayOptions: {
			opacity: 1,
			position: 'bottom center',
			hideOnMouseOut: true
		}
	});

</script>







<div class="title"><?php echo __('Фотоальбомы') ?></div>

<br />If You want to send a messages or invite our girls to Videochat, you need to buy credits.


                                                  <div class="photo_albums">
													<?php if ($gallerys->getResults()): ?>
													  
														  <?php foreach ($gallerys->getResults() as $m): ?>
														 
														 	                   
														                                                       
																					    <span class="photo_ramka_lr photo_user_otstup" align="left">
															                                <a href="<?php echo url_for('@user_gallery_show?id='.$m->getId()) ?>">
															                                    <img src="/images/photo_ramka_t.png" class="photo_ramka_t">
															                                    <img class="photo_user" src="<?php echo $m->getLogoUrl() ?>" alt="" width="128">
															                                    <img src="/images/photo_ramka_b.png" class="photo_ramka_b">
															                                </a>
															                            </span>
														                                
												
														                        
														 <?php endforeach ?>
													
													<?php endif ?>
													
													
													</div>
													<div class="clear"></div>
													<br />
													
													<div class="photo_list">
													
													
													<div class="title"><?php echo __('Фотогалерея')?></div>
													
																					    <span class="photo_ramka_lr photo_user_otstup" align="left">
															                                <a >
															                                    <img src="/images/photo_ramka_t.png" class="photo_ramka_t">
															                                    <img class="photo_user" src="<?php echo $gallery->getLogoUrl() ?>" alt="" width="128">
															                                    <img src="/images/photo_ramka_b.png" class="photo_ramka_b">
															                                </a>
															                            </span>
													<div class="clear"></div>
													
													
													<?php if ($photos->getResults()): ?>
													 <?php foreach ($photos->getResults() as $m): ?>
													 <div style="float:left; padding: 10px">
													 <?php  echo highslide('/uploads/users/gallery/'.$m->getPhotoPath(), '/uploads/users/gallery/thumbnail/'.$m->getPhotoPath(), $options = array()) ?>
													 <?php //echo image_tag('/uploads/users/gallery/thumbnail/'.$m->getPhotoPath()) ?>
													 </div>
													 <?php endforeach ?>
													 <div class="clear"></div>
													<?php else: ?>
													
													<?php echo __('В этой фотогалерии нет фотографий')?>
													
													<?php endif ?>


                                                        <div class="clear"></div>
                                                       
                                                   </div>






















